import React, {lazy} from "react";

const Loginform = lazy(async () => import("./loginform"))

class Login extends React.Component {
    constructor(props) {
        super(props);
        this.state = {date: new Date()};
    }

    render() {
        return (
            <div className="w-full h-full flex justify-center items-start bg-blue-500"
                 style={{background: "url(https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fpic1.win4000.com%2Fwallpaper%2F1%2F5822eedc9f652.jpg%3Fdown&refer=http%3A%2F%2Fpic1.win4000.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1638501871&t=2d56adc4a820102d749501751dd28058)"}}>
                <div className="mt-100px w-80 h-80 bg-opacity-10 bg-white p-2 juzhong">
                    <Loginform></Loginform>
                </div>
            </div>
        )
    }
}

export default Login